LC_CMD_ORDER Home

LC_CMD_ORDER is a value for Command parameter of the lcWndExeCommand function. It starts interactive tool to change order of entities.
CmdParam parameter can have the following values to activate specific modes:

Prm Mode
0 Start command with previous mode
LC_ORDER_FRONT Bring selected entity to a front
LC_ORDER_BACK Bring selected entity to a background
LC_ORDER_ABOVE Bring selected entity above specified entity
LC_ORDER_UNDER Bring selected entity below specified entity
LC_ORDER_SWAP Swap 2 entities in a display list

When the command is started, before specifying first point, user can change the mode by right click and then select mode from popup menu.


See Also

  Command interface


Code sample:
  // Bring selected entity to a front
  lcWndExeCommand( m_hLcWnd, LC_CMD_ORDER, LC_ORDER_FRONT );